<?php

$appPath = '../application';

require_once $appPath . '/Start.php';
$app = new App($appPath);

$t = new TemplateLoader();
$t->Module = 'SocioRating';
$t->Template = 'templates/page.tpl';
$t->Content = array();
$app->Page = $t;

ob_start();
$app->Run();
$content = ob_get_clean();

$t->Content[] = $content;
$t->Render();
